package net.dgg.dggcloud.service.jrcrm.entity.orf;

import net.dgg.dggcloud.service.entity.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * @author xianlincai
 * 订单客户信息
 * @create 2017-11-06 14:55
 **/
@Entity
@Table(name = "orf_order_customer")
public class OrderCustomer extends BaseEntity {

    //数据库表名
    public static final String TABLE_NAME = "orf_order_customer";

    @Column(name = "order_id")
    private Long orderId;//订单id

    @Column(name = "subject_json")
    private String subjectJson;//科目信息

    @Column(name = "customer_property_json")
    private String customerPropertyJson;//客户属性信息

    @Column(name = "customer_data_info")
    private String customerDataInfo;//客户资料信息1选中，0没有选中 oldCardStatus原件，newCardStatus复印件

    @Column(name = "customer_name")
    private String customerName;//客户姓名

    @Column(name = "customer_phone")
    private String customerPhone;//客户电话

    @Column(name = "contact_way")
    private String contactWay;//客户联系方式

    @Column(name = "id_card")
    private String idCard;//身份证号

    @Column(name = "sex")
    private String sex;//性别

    @Column(name = "birthday")
    private String birthday;//生日

    @Column(name = "age")
    private Integer age;//年龄

    @Column(name = "address")
    private String address;//地址

    @Column(name = "registered_residence")
    private String registeredResidence;//户口所在地

    @Column(name = "email")
    private String email;//邮箱

    @Column(name = "edu_background")
    private String eduBackground;//学历

    @Column(name = "marital_status")
    private String maritalStatus;//婚姻状况

    @Column(name = "children_num")
    private Integer childrenNum;//子女个数

    @Column(name = "business_area")
    private String businessArea;//业务区域

    @Column(name = "is_vip")
    private String isVip;//是否vip




    public OrderCustomer() {
    }

    /**
     *
     * @param subjectJson  科目信息 <br/>
     * @param customerPropertyJson  客户属性信息 <br/>
     * @param customerDataInfo  客户资料信息       <br/>
     */
    public OrderCustomer(String subjectJson, String customerPropertyJson, String customerDataInfo) {
        this.subjectJson = subjectJson;
        this.customerPropertyJson = customerPropertyJson;
        this.customerDataInfo = customerDataInfo;
    }

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public String getSubjectJson() {
        return subjectJson;
    }

    public void setSubjectJson(String subjectJson) {
        this.subjectJson = subjectJson;
    }

    public String getCustomerPropertyJson() {
        return customerPropertyJson;
    }

    public void setCustomerPropertyJson(String customerPropertyJson) {
        this.customerPropertyJson = customerPropertyJson;
    }

    public String getCustomerDataInfo() {
        return customerDataInfo;
    }

    public void setCustomerDataInfo(String customerDataInfo) {
        this.customerDataInfo = customerDataInfo;
    }


    public String getCustomerPhone() {
        return customerPhone;
    }

    public void setCustomerPhone(String customerPhone) {
        this.customerPhone = customerPhone;
    }

    public String getContactWay() {
        return contactWay;
    }

    public void setContactWay(String contactWay) {
        this.contactWay = contactWay;
    }

    public String getIdCard() {
        return idCard;
    }

    public void setIdCard(String idCard) {
        this.idCard = idCard;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getBirthday() {
        return birthday;
    }

    public void setBirthday(String birthday) {
        this.birthday = birthday;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getRegisteredResidence() {
        return registeredResidence;
    }

    public void setRegisteredResidence(String registeredResidence) {
        this.registeredResidence = registeredResidence;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getEduBackground() {
        return eduBackground;
    }

    public void setEduBackground(String eduBackground) {
        this.eduBackground = eduBackground;
    }

    public String getMaritalStatus() {
        return maritalStatus;
    }

    public void setMaritalStatus(String maritalStatus) {
        this.maritalStatus = maritalStatus;
    }


    public String getBusinessArea() {
        return businessArea;
    }

    public void setBusinessArea(String businessArea) {
        this.businessArea = businessArea;
    }

    public String getIsVip() {
        return isVip;
    }

    public void setIsVip(String isVip) {
        this.isVip = isVip;
    }

    public String getCustomerName() {
        return customerName;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public Integer getChildrenNum() {
        return childrenNum;
    }

    public void setChildrenNum(Integer childrenNum) {
        this.childrenNum = childrenNum;
    }
}


